package server.rest;

import org.apache.http.HttpResponse;

public class HttpApiResponse
{
    final String content;
    final HttpResponse response;
    final String contentType;
    final int statusCode;

    public HttpApiResponse(String content, String contentType, int statusCode,  HttpResponse response)
    {
        this.content = content;
        this.response = response;
        this.contentType = contentType;
        this.statusCode = statusCode;
    }

    public String getContent()
    {
        return content;
    }

    public HttpResponse getResponse()
    {
        return response;
    }

    public String getContentType()
    {
        return contentType;
    }

    public int getStatusCode()
    {
        return statusCode;
    }

}
